package com.van.entity.account;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 用户角色表
 * @author VanKa qq:2395073039
 * @date 2021/7/26 9:25
 */
@Data
@TableName(value = "user_role")
public class UserRole {
    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    @TableField(value = "userId")
    private int userId;
    @TableField(value = "roleId")
    private int roleId;
}
